const mysql = require('mysql')

const con = mysql.createPool({
  host: 'localhost',
  user: 'root',
  password: '3051532wyp.',
  database: 'koa2_db'
})

con.query('select * from users', (err, data) => {
  console.log(data, 'data')
  con.end()
})


